<div class="layui-header" style="min-width: 785px">
    <div class="layui-logo">
        <img src="/static/images/logo.png" alt="logo" style="height: 36px;">
        <span style="    font-size: 20px;">煤炭管理系统</span>
    </div>
    <!-- 头部区域 -->

    <ul class="layui-nav layui-layout-left">
        <li class="layui-nav-item"><a href="/sys/main">首页</a></li>
        <li class="layui-nav-item"><a href="#">交易中心</a></li>
        <li class="layui-nav-item"><a href="#">咨询中心</a></li>
        <li class="layui-nav-item"><a href="#">服务中心</a></li>
    </ul>
    <ul class="layui-nav layui-layout-right">
        <li class="layui-nav-item">
            <a href="javascript:;">
                <#if Session["user"]?exists>
                    <img src=" ${Session["user"].avatarUrl}" class="layui-nav-img" alt="头像">
                    ${Session["user"].nickName}
                <#else >
                    <img src="http://t.cn/RCzsdCq" class="layui-nav-img" alt="头像">
                    未知用户
                </#if>
            </a>

        </li>
        <li class="layui-nav-item"><a href="/user/public/logout">退出登录</a></li>
    </ul>
</div>